<div ng-controller="MsgsetCtrl" ng-init="listAction()">
    <ul class="sui-breadcrumb">
        <li>{{'消息配置'| translate}}</li>
        <li class="active">
            {{"List"|translate}}
            <a href="#/msgset/add" id="addNew" class="sui-btn btn-primary">+{{'add_new' | translate}}</a>
        </li>
        <span class="sui-form sui-form pull-right">
        </span>
    </ul>
    <table class="sui-table table-bordered">
        <thead>
            <tr>
                <th>{{'事件编号'|translate}}</th>
                <th>{{'用户名称'|translate}}</th>
                <th>{{'商品订单'|translate}}</th>
                <th>{{'报名活动订单'|translate}}</th>
                <th>{{'充值订单'|translate}}</th>
                <th>{{'面付订单'|translate}}</th>
                <th>{{'酒店订单'|translate}}</th>
                <th>{{'统计消息'|translate}}</th>
                <th>{{'客服消息'|translate}}</th>
                <th>{{'退款消息'|translate}}</th>
                <th>{{'代理商审核'|translate}}</th>
                <th>{{'客服跟单'|translate}}</th>
                <th>{{'二次授权'|translate}}</th>
                <th>{{'operation'|translate}}</th>
            </tr>
        </thead>
        <tbody>
            <tr ng-repeat="list in events_users_list">
                <td>{{list.msg_id}}</td>
                <td>
                    <wxinfo ng-model="list.user_id" userid="1"></wxinfo>
                </td>
                <td>{{list.item == 1?"是":"否"}}</td>
                <td>{{list.baoming == 1?"是":"否"}}</td>
                <td>{{list.balance == 1?"是":"否"}}</td>
                <td>{{list.mianfu ==1?"是":"否"}}</td>
                <td>{{list.hotel==1?"是":"否"}}</td>
                <td>{{list.tongji==1?"是":"否"}}</td>
                <td>{{list.kefu==1?"是":"否"}}</td>
                <td>{{list.refund==1?"是":"否"}}</td>
                <td>{{list.distributor==1?"是":"否"}}</td>
                <td>{{list.gendan==1?"是":"否"}}</td>
                <td>{{list.topauth==1?"是":"否"}}</td>
                <td>
                    <a href="#/msgset/add?msg_id={{list.msg_id}}" class="sui-btn btn-primary">{{'edit'|translate}}</a>
                </td>
            </tr>
        </tbody>
    </table>
    <!-- 分页start -->
    <pager page-no="1" page-size="pageSize" total="total_count" get-data="getMsgeventsList(pageNo)"></pager>
    <!-- 分页end -->
</div>